FROM  amazoncorretto:21.0.2

COPY ./build/tserver-*.jar /app/tserver.jar

VOLUME /home/download

EXPOSE 8080

WORKDIR /app

CMD ["java", "-jar", "tserver.jar"]